;******************************************************
;*             System ekspercki do wybierania         *
;*             drog wspinaczkowych                    *
;*													  *
;****************************************************** 

;******************************************************
;				KNOWLEDGE BASE                        *
;******************************************************

	
	
(defrule norope ""
	(rope NONE)
	=>
	(assert (result
		(name "Ciezko wspinac w skalach bez liny, dlatego proponuje buldery w sokolikach")
		(value "Pegaz; Migdal; Parawany; Labirynt; Zajacowka - Sokoliki, Kraina Bulderingu")
		(secure "Przydalby sie jednak materac.")
		))	
		
	
	)
	
(defrule noexpress ""
	(asecuration YES)
	(rope 50 | 60 | 70)
	(express NONE)
	=>
	(assert (result
		(name "Ekspresy sa niezbedne do asekuracji dolnej")
		(value "Probuj asekuracji gornej - 'na wedke'")
		(secure "Restart")
		)
	)
			
	
	)

	
(defrule nofriend ""
	(asecuration YES)
	(secure NO)
	(rope 50 | 60 | 70)
	(friend NONE)
	=>
	(assert (result
		(name "Kosci/friendy sa integralna czescia asekuracji na drogach nieubezpieczonych")
		(value "Probuj asekuracji gornej - 'na wedke' albo drog ubezpieczonych")
		(secure "Restart")
		)
	)
			
	
	)
	

(defrule noidea ""
	(panel VI.1 | VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long NONE)
	;(training NONE)
	=>
	(assert (result
		(name "Jesli nigdy sie nie wspinales, to fizycznie niemozliwym jest, abys wszedl na droge trudniejsza niz VI. Polecane drogi:")
		(value "IV")
		(secure "Restart - prosze udzielac odpowiedzi realnych :-)")
		))	
		
	
	)	

	
	
(defrule ryska-tygryska ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Ryska Tygryska - Sukiennice - Sokoliki")
		(value "VI-")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule ryska-tygryska-wedka ""
	(shoes YES)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Ryska Tygryska - Sukiennice - Sokoliki")
		(value "VI-")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule roj-hektora ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Roj Hektora - Sukiennice - Sokoliki")
		(value "VI")
		(secure "Ubezpieczona")
		))	
		
	
	)
	

(defrule roj-hektora-wedka ""
	(shoes YES)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Roj Hektora - Sukiennice - Sokoliki")
		(value "VI")
		(secure "Na wedke")
		))	
		
	
	)

	
(defrule nos-wodza ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4. | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Nos Wodza - Sukiennice - Sokoliki")
		(value "VI.2+")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
(defrule nos-wodza-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4. | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Nos Wodza - Sukiennice - Sokoliki")
		(value "VI.2+")
		(secure "Na wedke")
		))	
		
	
	)	
	
(defrule iv-gorne-olsztyn ""
	(shoes YES | NO)
	(secure YES | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1)
	(asecuration YES)
	(training NONE | 1)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "IV  - Gorne Sloneczne - Jura, Okolice Olsztyna, Przy Zamku")
		(value "IV")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule iv-gorne-olsztyn-wedka ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE | 1)
	(asecuration NO)
	(training NONE | 1)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "IV  - Gorne Sloneczne - Jura, Okolice Olsztyna, Przy Zamku")
		(value "IV")
		(secure "Na wedke")
		))	
		
	
	)	
	
	
(defrule kursowa ""
	(shoes NO | YES)
	(secure NO | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1)
	(asecuration YES)
	(training NONE | 1)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Kursowa - Krzyzna Skala - Sokoliki")
		(value "IV")
		(secure "Nieubezpieczona")
		))	
		
	
	)	
	

(defrule kursowa-wedka ""
	(shoes NO | YES)
	(panel NONE | IV | V | VI)
	(long NONE | 1)
	(asecuration NO)
	(training NONE | 1)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Kursowa - Krzyzna Skala - Sokoliki")
		(value "IV")
		(secure "Na wedke")
		))	
		
	
	)

	
(defrule piszczykowka ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Piszczykowka - Ganek Ewy - Jura, Okolice Olsztyna, Przy Zamku")
		(value "VI+")
		(secure "Ubezpieczona")
		))	
		
	
	)	
 
 
(defrule piszczykowka-wedka ""
	(shoes YES)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Piszczykowka - Ganek Ewy - Jura, Okolice Olsztyna, Przy Zamku")
		(value "VI+")
		(secure "Na wedke")
		))	
		
	
	)	 
 
(defrule kurtykowka ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel IV | V | VI | VI.1)
	(long 1 | 2)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Kurtykowka - Zipserowa Czuba - Sokoliki")
		(value "IV")
		(secure "Nieubezpieczona")
		))	
		
	
	)	
	


(defrule kurtykowka-wedka ""
	(shoes YES)
	(panel IV | V | VI | VI.1)
	(long 1 | 2)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Kurtykowka - Zipserowa Czuba - Sokoliki")
		(value "IV")
		(secure "Na wedke")
		))	
		
	
	)	
	
(defrule pakerowka ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	(friend 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Pakerowka - Pletwa - Sokoliki")
		(value "VI-")
		(secure "Nieubezpieczona")
		))	
		
	
	)
 
 
(defrule pakerowka-wedka ""
	(shoes YES)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Pakerowka - Pletwa - Sokoliki")
		(value "VI-")
		(secure "Na wedke")
		))	
		
	
	) 
 
 
 (defrule pierwsza-krew ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Pierwsza Krew - Pletwa - Sokoliki")
		(value "VI.2")
		(secure "Nieubezpieczona")
		))	
		
	
	)


 (defrule pierwsza-krew-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Pierwsza Krew - Pletwa - Sokoliki")
		(value "VI.2")
		(secure "Na wedke")
		))	
		
	
	)
	
 (defrule rock-arena ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Rock Arena - Sukiennice - Sokoliki")
		(value "VI.3+")
		(secure "Ubezpieczona")
		))	
		
	
	)


(defrule rock-arena-wedka ""
	(shoes YES)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Rock Arena - Sukiennice - Sokoliki")
		(value "VI.3+")
		(secure "Na wedke")
		))	
		
	
	)


	
  (defrule eliminator ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Eliminator - Sukiennice - Sokoliki")
		(value "VI.3+")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
  (defrule eliminator-wedka ""
	(shoes YES)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Eliminator - Sukiennice - Sokoliki")
		(value "VI.3+")
		(secure "Na wedke")
		))	
		
	
	)	
	
	
 (defrule lewy-komin ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Lewy Komin - Sukiennice - Sokoliki")
		(value "VI")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
 (defrule lewy-komin-wedka ""
	(shoes YES)
	(panel VI | VI.1 | VI.2 | VI.3)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Lewy Komin - Sukiennice - Sokoliki")
		(value "VI")
		(secure "Na wedke")
		))	
		
	
	)
	
  (defrule mandaryn ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Mandaryn - Krzywa Turnia - Sokoliki")
		(value "VI.5+")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	


  (defrule mandaryn-wedka ""
	(shoes YES)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Mandaryn - Krzywa Turnia - Sokoliki")
		(value "VI.5+")
		(secure "Na wedke")
		))	
		
	
	)

	
  (defrule totem ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Totem - Krzywa Turnia - Sokoliki")
		(value "VI.5+/VI.6")
		(secure "Ubezpieczona")
		))	
		
	
	)


  (defrule totem-wedka ""
	(shoes YES)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Totem - Krzywa Turnia - Sokoliki")
		(value "VI.5+/VI.6")
		(secure "Na wedke")
		))	
		
	
	)

	
  (defrule fugazi ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Fugazi - Solarium - Sokoliki")
		(value "VI.2")
		(secure "Ubezpieczona")
		))	
		
	
	)
	

  (defrule fugazi-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Fugazi - Solarium - Sokoliki")
		(value "VI.2")
		(secure "Na wedke")
		))	
		
	
	)

	
  (defrule kolory-dla-koni ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.1 | VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend NONE | NA | 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Kolory Dla Koni - Solarium - Sokoliki")
		(value "VI.1")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
  (defrule kolory-dla-koni-wedka ""
	(shoes YES)
	(panel VI.1 | VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Kolory Dla Koni - Solarium - Sokoliki")
		(value "VI.1")
		(secure "Na wedke")
		))	
		
	
	)
	
  (defrule komin-pod-ostrzem ""
	(shoes YES | NO)
	(secure NO | DONT_CARE)
	(panel IV | V | VI)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Komin Pod Ostrzem - Gilotyna - Sokoliki")
		(value "IV")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
  (defrule komin-pod-ostrzem-wedka ""
	(shoes YES | NO)
	(panel IV | V | VI)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Komin Pod Ostrzem - Gilotyna - Sokoliki")
		(value "IV")
		(secure "Na wedke")
		))	
		
	
	)	
	
  (defrule rysa-bzdziela ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel IV | V | VI | VI.1)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Rysa Bzdziela - Jastrzebiec - Sokoliki")
		(value "V+")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
  (defrule rysa-bzdziela-wedka ""
	(shoes YES)
	(panel IV | V | VI | VI.1)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Rysa Bzdziela - Jastrzebiec - Sokoliki")
		(value "V+")
		(secure "Na wedke")
		))	
		
	
	)	
	
(defrule prostowanie ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Prostowanie smierci faraona - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.2")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule prostowanie-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Prostowanie smierci faraona - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.2")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule fever ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Goraczka bialego zlota - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.3")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule fever-wedka ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.3 | VI.4 | VI.5_UP)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Goraczka bialego zlota - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.3")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule srod-rysa-do-ogrodu ""
	(shoes YES | NO)
	(secure YES | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE 1 | 2 | 2_UP)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Srodkowa rysa do ogrodu - Wysoka - Jura, Dolina Bedkowska")
		(value "IV+")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule srod-rysa-do-ogrodu ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE 1 | 2 | 2_UP)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Srodkowa rysa do ogrodu - Wysoka - Jura, Dolina Bedkowska")
		(value "IV+")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule tatarzyn ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Chwycil Kozak Tatarzyna - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.1")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule tatarzyn-wedka ""
	(shoes YES)
	(panel VI.1 | VI.2 | VI.3)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Chwycil Kozak Tatarzyna - Wysoka - Jura, Dolina Bedkowska")
		(value "VI.1")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule adept ""
	(shoes YES | NO)
	(secure NO | DONT_CARE)
	(panel NONE | IV | V)
	(long NONE | 1)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	(friend 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Droga adeptow - Zolty filar - Jura, Okolice Olsztyna, Przy zamku")
		(value "III")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
(defrule adept-wedka ""
	(shoes YES | NO)
	(panel NONE | IV | V)
	(long NONE | 1)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Droga adeptow - Zolty filar - Jura, Okolice Olsztyna, Przy zamku")
		(value "III")
		(secure "Na wedke")
		))	
		
	
	)
	

(defrule dupa-babiucha ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Dupa babiucha - Grzyb - Jura, Okolice Olsztyna, Przy zamku")
		(value "VI.2")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule dupa-babiucha-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4 | VI.5_UP)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Dupa babiucha - Grzyb - Jura, Okolice Olsztyna, Przy zamku")
		(value "VI.2")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule droga-piekutowskiego ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel NONE | VI | V | VI | VI.1)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Droga Piekutowskiego - Pusta Turnia - Jura, Okolice Olsztyna, Przy zamku")
		(value "V")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
(defrule droga-piekutowskiego ""
	(shoes YES)
	(panel NONE | VI | V | VI | VI.1)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Droga Piekutowskiego - Pusta Turnia - Jura, Okolice Olsztyna, Przy zamku")
		(value "V")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule droga-bomby ""
	(shoes YES)
	(secure NO | DONT_CARE)
	(panel VI | V | VI | VI.1)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Droga bomby - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "V+")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
(defrule droga-bomby-wedka ""
	(shoes YES)
	(panel VI | V | VI | VI.1)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Droga bomby - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "V+")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule przez-krzyz ""
	(shoes YES | NO)
	(secure NO | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	(friend 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Przez krzyz - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "IV")
		(secure "Nieubezpieczona")
		))	
		
	
	)


(defrule przez-krzyz-wedke ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Przez krzyz - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "IV")
		(secure "Na wedka")
		))	
		
	
	)	
	
	
(defrule ku-dziurze ""
	(shoes YES | NO)
	(secure NO | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Ku dziurze - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "III")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
	
(defrule ku-dziurze-wedka ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Ku dziurze - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "III")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule rynna-biernackiego ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	(friend 1015 | 15_UP)
	=>
	(assert (result
		(name "Rynna Biernackiego - Pusta Turnia - Jura, Okolice Olsztyna, Przy zamku")
		(value "VI.4+")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule rynna-biernackiego-wedka ""
	(shoes YES)
	(panel VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Rynna Biernackiego - Pusta Turnia - Jura, Okolice Olsztyna, Przy zamku")
		(value "VI.4+")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule droga-popki ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel V | VI | VI.1)
	(long 1 | 2 | 2_UP)
	(asecuration YES)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	(friend 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Droga Popki - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "V+")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule droga-popki-wedka ""
	(shoes YES)
	(panel V | VI | VI.1)
	(long 1 | 2 | 2_UP)
	(asecuration NO)
	(training 1 | 2 | 2_UP)
	(rope 60 | 70)
	(place CROWDED | DONT_CARE)
	=>
	(assert (result
		(name "Droga Popki - Ganek Ewy - Jura, Okolice Olsztyna, Przy zamku")
		(value "V+")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule wariant-potoka ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.2 | VI.3 | VI.4)
	(long 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Wariant Potoka - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "VI.2")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule wariant-potoka-wedka ""
	(shoes YES)
	(panel VI.2 | VI.3 | VI.4)
	(long 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Wariant Potoka - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "VI.2")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule beletrystyka ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.1 | VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration YES)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Beletrystyka - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "VI.1+")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule beletrystyka-wedka ""
	(shoes YES)
	(panel VI.1 | VI.2 | VI.3 | VI.4)
	(long 2 | 2_UP)
	(asecuration NO)
	(training 2 | 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Beletrystyka - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "VI.1+")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule zaciecie-biblioteki ""
	(shoes YES | NO)
	(secure NO | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	(friend 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Zaciecie biblioteki - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "III")
		(secure "Nieubezpieczona")
		))	
		
	
	)
	
(defrule zaciecie-biblioteki-wedka ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Zaciecie biblioteki - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "III")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule droga-murzyna ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 6_LESS | 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Droga murzyna - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "V")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule droga-murzyna-wedka ""
	(shoes YES)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Droga murzyna - Biblioteka - Jura, Okolice Olsztyna, Dziewica")
		(value "V")
		(secure "Na wedke")
		))	
		
	
	)
	
(defrule male-piwo ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	(express 1015 | 15_UP)
	=>
	(assert (result
		(name "Male Piwo - Boniek - Jura, Sokole Gory")
		(value "VI.4")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
	
(defrule male-piwo-wedka ""
	(shoes YES)
	(panel VI.4 | VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2_UP)
	(rope 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Male Piwo - Boniek - Jura, Sokole Gory")
		(value "VI.4")
		(secure "Na wedke")
		))	
		
	
	)
	
	
(defrule motyl ""
	(shoes YES | NO)
	(secure YES | DONT_CARE)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration YES)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Motyl - Boniek - Jura, Sokole Gory")
		(value "IV")
		(secure "Ubezpieczona")
		))	
		
	
	)	
	
(defrule motyl-wedka ""
	(shoes YES | NO)
	(panel NONE | IV | V | VI)
	(long NONE | 1 | 2)
	(asecuration NO)
	(training NONE | 1 | 2 | 2_UP)
	(rope 50 | 60 | 70)
	(place CALM | DONT_CARE)
	=>
	(assert (result
		(name "Motyl - Boniek - Jura, Sokole Gory")
		(value "IV")
		(secure "Na wedke")
		))	
		
	
	)	
	
	
(defrule blitzkrieg ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration YES)
	(training 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Blitzkrieg - Tepa - Sokoliki")
		(value "VI.5+/VI.6")
		(secure "Ubezpieczona")
		))	
		
	
	)
	
(defrule blitzkrieg-wedka ""
	(shoes YES)
	(secure YES | DONT_CARE)
	(panel VI.5_UP)
	(long 2_UP)
	(asecuration NO)
	(training 2_UP)
	(rope 50 | 60 | 70)
	(place CROWDED | DONT_CARE)
	(express 610 | 1015 | 15_UP)
	=>
	(assert (result
		(name "Blitzkrieg - Tepa - Sokoliki")
		(value "VI.5+/VI.6")
		(secure "Na wedke")
		))	
		
	
	)